WPFront\URE\User_Switching\WPFront_User_Role_Editor_User_Switching B

Total Complexity 89
Dependencies 2
Dependents 0
Total lines 539
Lines of code 410
Logical lines of code 236
Comment lines 7
Methods 26
Properties 0

Methods 26

Method Rating Maintainability Complexity Lines of code
switch_user()
B
40 15 64
can_switch_to_user()
A
51 11 29
get_switched_users_stack()
A
50 7 31
set_switched_users_stack()
S
50 6 29
admin_bar_menu_actions()
S
47 5 40
switch_back_user_floating_link()
S
49 5 40
buddypress_switch_to_button()
S
55 5 20
is_remember_session_enabled()
S
59 4 15
forget_woocommerce_session()
S
61 4 13
initialize()
S
51 3 25
get_switch_back_url()
S
62 2 12
user_profile_actions()
S
64 2 11
get_last_session_user_id()
S
69 2 7
pop_switched_users_stack()
S
65 2 10
get_first_session_user_id()
S
69 2 7
current_user_is_remembered()
S
65 2 8
bbpress_switch_to_link()
S
68 2 7
user_row_actions()
S
67 2 7
setUp()
S
81 1 3
clear_cookie_values()
S
81 1 3
cap_help_link()
S
80 1 3
get_switched_users_stack_cookie_name()
S
80 1 3
set_cookie_values()
S
81 1 3
get_switch_to_url()
S
66 1 8
admin_bar_user_switching_element_style()
S
77 1 9
get_debug_setting()
S
76 1 3